﻿using UnityEngine;
using UnityEngine.UI;//用到Text这头文件还是需要的  
using System.Collections;

public class Result : MonoBehaviour
{

    void Start()
    {
        //将持久化数据PlayerPrefs的结果输出到Text  
        GameObject.Find("Canvas/Text").GetComponent<Text>().text =
                PlayerPrefs.GetString("sudu1") + "11" + WWW.UnEscapeURL(PlayerPrefs.GetString("leixing"));

    }

    //WWW.UnEscapeURL(PlayerPrefs.GetString("sudu1"))

}